import {
	get,
	post
} from '../request.js'


//获取验证码
export const getImgCode = () => get('/code/imgCode')

//获取短信验证码
export const getMessageCode = (data) => get('/code/messageCode', data)

//登录 
export const login = (data) => post('/login', data)

//注册
export const register = (data) => post('/register', data)

//修改账号密码
export const changePwd = (data) => post('/changePassword', data)